Skip to content

Conversation

@EliahKagan
Copy link
Member

@EliahKagan EliahKagan commented Aug 1, 2025

This applies some changes recommended by clippy that have caused the clippy check to start failing on CI as in:

https://github.com/EliahKagan/cargo-smart-release/actions/runs/16672703924/job/47192391862

This was done by running cargo clippy --fix followed by cargo fmt and inspecting the result.


Based on EliahKagan#24, it looks like the new clippy errors (due to using a newer Rust toolchain) may be all that will need to be fixed for the forthcoming Dependabot grouped version update PR, and that nothing updated in that PR should itself break. But that is not certain, and the PR should be examined once opened.

Edit: Yes, this kept #70 from having any CI failures.

This applies some changes recommended by clippy that have caused
the clippy check to start failingo on CI as in:

https://github.com/EliahKagan/cargo-smart-release/actions/runs/16672703924/job/47192391862

This was done by running `cargo clippy --fix` followed by
`cargo fmt` and inspecting the result.
Clippy has begun to disapprove of such uses that can be expressed
no less complicatedly with `if`-`then`, but while it was able to
detect this one like the others, it was not able to auto-fix it.

A direct refactoring might use `Default::default()`, but
`"".into()` seems slightly more readable here for showing the
effect on the message that gets built into the log.
@EliahKagan EliahKagan marked this pull request as ready for review August 1, 2025 10:54
@EliahKagan EliahKagan merged commit 3af51d7 into GitoxideLabs:main Aug 1, 2025
9 checks passed
@EliahKagan EliahKagan deleted the thanks-clippy branch August 1, 2025 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant